package com.gree.flowable.app.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@ApiModel(description = "下一节点VO")
public class NextChooseVO implements Serializable {
    @ApiModelProperty("下一节点类型 ONE CHOOSE COUNTERSIGN DIRECT")
    private String chooseType;
    @ApiModelProperty("pass节点信息List")
    private List<NextElementVO> passNodes;
    @ApiModelProperty("pass节点信息List")
    private List<NextElementVO> rejectNodes;

    public String getChooseType() {
        return chooseType;
    }

    public void setChooseType(String chooseType) {
        this.chooseType = chooseType;
    }

    public List<NextElementVO> getPassNodes() {
        return passNodes;
    }

    public void setPassNodes(List<NextElementVO> passNodes) {
        this.passNodes = passNodes;
    }

    public List<NextElementVO> getRejectNodes() {
        return rejectNodes;
    }

    public void setRejectNodes(List<NextElementVO> rejectNodes) {
        this.rejectNodes = rejectNodes;
    }

    public NextChooseVO() {
    }

    public NextChooseVO(String chooseType, List<NextElementVO> passNodes) {
        this.chooseType = chooseType;
        this.passNodes = passNodes;
        this.rejectNodes = new ArrayList<>();
    }

    public NextChooseVO(String chooseType, List<NextElementVO> passNodes, List<NextElementVO> rejectNodes) {
        this.chooseType = chooseType;
        this.passNodes = passNodes;
        this.rejectNodes = rejectNodes;
    }
}
